import { PORT1 } from "@/api/config/servicePort";
import http from "@/api";

export const getOrderList = (params: any) => {
  return http.get(PORT1 + "/order/list", params);
};

export const editOrder = (params: any) => {
  return http.put(PORT1 + "/order/update/status", params);
};

export const getOrderDetail = (params: any) => {
  return http.get(PORT1 + "/order/detail", params);
};
